Custom Error :
select
product.product_cd,
product.product_id,
product.product_name,
product.public_price,
product.reseller_price,
product.image,
product.short_description,
product.long_description,
product.note,
product.category_cd,
product.events_id,
product.weight,
product.status,
product.favourite,
product.special_gift
from product,
category
where 1=1 AND upper(category.status)='Y'
AND upper(product.status)='Y' AND product.category_cd=category.category_cd AND product.product_cd=CART AND category.category_cd=21/136 ORDER BY product.last_updated desc
System generated Error :Unknown column 'CART' in 'where clause'